package org.net.cms.service.notice;

import org.net.cms.controller.admin.notice.vo.NoticeReqVO;
import org.net.cms.dao.NoticeDto;

import java.util.List;

public interface NoticeService {

    List<NoticeDto> listNotice(int type);

    NoticeDto getNotice(int id);

    int addNotice(NoticeReqVO notice);

    int updateNotice(NoticeReqVO notice);

    boolean deleteNotice(int id);
}
